package com.ruoyi.consumer.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * requirement对象 c_requirement
 * 
 * @author ruoyi
 * @date 2023-11-13
 */
public class CRequirement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 需求表id */
    private Integer requireId;

    /** 车辆id */
    @Excel(name = "车辆id")
    private Integer carId;

    /** 消费用户id */
    @Excel(name = "消费用户id")
    private Integer consumerId;

    /** 接单加注员id */
    @Excel(name = "接单加注员id")
    private Integer fillerId;

    /** 消费者所在经度 */
    @Excel(name = "消费者所在经度")
    private Double cLatitude;

    /** 消费者所在维度 */
    @Excel(name = "消费者所在维度")
    private Double cLongitude;

    /** 接单时加注车所在经度 */
    @Excel(name = "接单时加注车所在经度")
    private Double flowLatitude;

    /** 接单时加注车所在维度 */
    @Excel(name = "接单时加注车所在维度")
    private Double flowLongitude;

    /** 需求预定时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "需求预定时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date requireTime;

    /** 消费者姓名 */
    @Excel(name = "消费者姓名")
    private String cUserName;

    /** 消费者手机号 */
    @Excel(name = "消费者手机号")
    private String cUserPhone;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String carType;

    /** 车辆照片 */
    @Excel(name = "车辆照片")
    private String carImg;

    /** 车辆车牌号 */
    @Excel(name = "车辆车牌号")
    private String carPlateNum;

    /** 地址名字 */
    @Excel(name = "地址名字")
    private String adressName;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String addressDetails;

    /** 地址备注 */
    @Excel(name = "地址备注")
    private String addressEg;

    /** 状态 */
    @Excel(name = "状态")
    private Integer requireStatus;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer isDelete;

    /** 状态，0：待接单，1：未完成，2：已完成 */
    @Excel(name = "状态，0：待接单，1：未完成，2：已完成")
    private Integer status;

    public void setRequireId(Integer requireId) 
    {
        this.requireId = requireId;
    }

    public Integer getRequireId() 
    {
        return requireId;
    }
    public void setCarId(Integer carId) 
    {
        this.carId = carId;
    }

    public Integer getCarId() 
    {
        return carId;
    }
    public void setConsumerId(Integer consumerId) 
    {
        this.consumerId = consumerId;
    }

    public Integer getConsumerId() 
    {
        return consumerId;
    }
    public void setFillerId(Integer fillerId) 
    {
        this.fillerId = fillerId;
    }

    public Integer getFillerId() 
    {
        return fillerId;
    }
    public void setcLatitude(Double cLatitude) 
    {
        this.cLatitude = cLatitude;
    }

    public Double getcLatitude() 
    {
        return cLatitude;
    }
    public void setcLongitude(Double cLongitude) 
    {
        this.cLongitude = cLongitude;
    }

    public Double getcLongitude() 
    {
        return cLongitude;
    }
    public void setFlowLatitude(Double flowLatitude) 
    {
        this.flowLatitude = flowLatitude;
    }

    public Double getFlowLatitude() 
    {
        return flowLatitude;
    }
    public void setFlowLongitude(Double flowLongitude) 
    {
        this.flowLongitude = flowLongitude;
    }

    public Double getFlowLongitude() 
    {
        return flowLongitude;
    }
    public void setRequireTime(Date requireTime) 
    {
        this.requireTime = requireTime;
    }

    public Date getRequireTime() 
    {
        return requireTime;
    }
    public void setcUserName(String cUserName) 
    {
        this.cUserName = cUserName;
    }

    public String getcUserName() 
    {
        return cUserName;
    }
    public void setcUserPhone(String cUserPhone) 
    {
        this.cUserPhone = cUserPhone;
    }

    public String getcUserPhone() 
    {
        return cUserPhone;
    }
    public void setCarType(String carType) 
    {
        this.carType = carType;
    }

    public String getCarType() 
    {
        return carType;
    }
    public void setCarImg(String carImg) 
    {
        this.carImg = carImg;
    }

    public String getCarImg() 
    {
        return carImg;
    }
    public void setCarPlateNum(String carPlateNum) 
    {
        this.carPlateNum = carPlateNum;
    }

    public String getCarPlateNum() 
    {
        return carPlateNum;
    }
    public void setAdressName(String adressName) 
    {
        this.adressName = adressName;
    }

    public String getAdressName() 
    {
        return adressName;
    }
    public void setAddressDetails(String addressDetails) 
    {
        this.addressDetails = addressDetails;
    }

    public String getAddressDetails() 
    {
        return addressDetails;
    }
    public void setAddressEg(String addressEg) 
    {
        this.addressEg = addressEg;
    }

    public String getAddressEg() 
    {
        return addressEg;
    }
    public void setRequireStatus(Integer requireStatus) 
    {
        this.requireStatus = requireStatus;
    }

    public Integer getRequireStatus() 
    {
        return requireStatus;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("requireId", getRequireId())
            .append("carId", getCarId())
            .append("consumerId", getConsumerId())
            .append("fillerId", getFillerId())
            .append("cLatitude", getcLatitude())
            .append("cLongitude", getcLongitude())
            .append("flowLatitude", getFlowLatitude())
            .append("flowLongitude", getFlowLongitude())
            .append("requireTime", getRequireTime())
            .append("cUserName", getcUserName())
            .append("cUserPhone", getcUserPhone())
            .append("carType", getCarType())
            .append("carImg", getCarImg())
            .append("carPlateNum", getCarPlateNum())
            .append("adressName", getAdressName())
            .append("addressDetails", getAddressDetails())
            .append("addressEg", getAddressEg())
            .append("requireStatus", getRequireStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDelete", getIsDelete())
            .append("status", getStatus())
            .toString();
    }
}
